.dialog-hidden {  
    display: none;  
}  
  
.dialog-overlay {  
    position: fixed;  
    top: 0;  
    left: 0;  
    width: 100%;  
    height: 100%;  
    background: rgba(0, 0, 0, 0.5);  
    display: flex;  
    justify-content: center;  
    align-items: center;  
    position: fixed;  
    z-index: 9998;
}  
  
.dialog {  
    background: white;  
    padding: 20px;  
    border-radius: 5px;  
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);  
    position: fixed; /* 或者 relative/absolute，取决于你的布局 */  
    z-index: 9999; /* 很高的 z-index 值 */  
}  
  
.dialog-content {  
    text-align: center;  
}  
  
.dialog-close-btn {  
    margin-top: 10px;  
    display: inline-block;  
    padding: 10px 20px;  
    font-size: 16px;  
    color: #fff;  
    background-color: #4CAF50; /* 绿色背景 */  
    border: none;  
    border-radius: 5px; /* 添加圆角 */  
    cursor: pointer;  
    transition: background-color 0.3s ease; /* 添加过渡效果 */ 
}
.dialog-close-btn:hover {  
    background-color: #45a049; /* 鼠标悬停时改变背景色 */  
}  